WriteCRUDCacheRepo

open class WriteCRUDCacheRepo<ObjectType, IdType, InputValueType>(    parentRepo: WriteCRUDRepo<ObjectType, IdType, InputValueType>,     kvCache: KVCache<IdType, ObjectType>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     idGetter: (ObjectType) -> IdType) : WriteCRUDRepo<ObjectType, IdType, InputValueType> , CacheRepo

Constructors

Link copied to clipboard
fun <ObjectType, IdType, InputValueType> WriteCRUDCacheRepo(    parentRepo: WriteCRUDRepo<ObjectType, IdType, InputValueType>,     kvCache: KVCache<IdType, ObjectType>,     scope: CoroutineScope = CoroutineScope(Dispatchers.Default),     idGetter: (ObjectType) -> IdType)

Functions

Link copied to clipboard
open suspend override fun create(values: List<InputValueType>): List<ObjectType>
Link copied to clipboard
open suspend override fun deleteById(ids: List<IdType>)
Link copied to clipboard
open suspend override fun update(values: List<UpdatedValuePair<IdType, InputValueType>>): List<ObjectType>
open suspend override fun update(id: IdType, value: InputValueType): ObjectType?

Properties

Link copied to clipboard
val createdObjectsFlowJob: Job
Link copied to clipboard
val deletedObjectsFlowJob: Job
Link copied to clipboard
open override val deletedObjectsIdsFlow: Flow<IdType>
Link copied to clipboard
open override val newObjectsFlow: Flow<ObjectType>
Link copied to clipboard
open override val updatedObjectsFlow: Flow<ObjectType>
Link copied to clipboard
val updatedObjectsFlowJob: Job